import java.io.File;
import java.io.IOException;

import com.dto.IssueDTO;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.ObjectMapper;


public class JsonDTOProd {
	
	public static void main(String[] args) throws JsonParseException,
	JsonMappingException, IOException{
	
	ObjectMapper mapper = new ObjectMapper();
	
	IssueDTO value = mapper.readValue(new File(
			"src//main//resources//JSONFolder//JsonCustom.txt"),
			IssueDTO.class);
	System.out.println(mapper.writeValueAsString(value));

	}
}
